package com.wl.designpattern.adapter;

import android.util.Log;

/**
 * Created by wangliang on 2021/2/27.
 */
public class ListViewWaterTap implements BigOutlet {
    private static final String TAG = ListViewWaterTap.class.getSimpleName();
    private ListWaterTapAdapter listWaterTapAdapter;

    @Override
    public void bigOutlet() {
        Log.d(TAG,"bigOutlet");
    }

    public void setAdapter(ListWaterTapAdapter adapter) {
        this.listWaterTapAdapter = adapter;
    }

    public void smallToBigOutlet() {
        listWaterTapAdapter.smallOutlet();
        int i = 100;
        while (i-- >0);
        listWaterTapAdapter.middleOutlet();
    }
}
